<?php 
	//最新的3篇文章
	$arcModel=new \Common\Model\Arc;
	$arcData=$arcModel->where('is_recycle=0')->orderBy('sendtime','DESC')->limit(3)->get();
	//标签
	$tagModel=new \Common\Model\Tag;
	$tagData=$tagModel->get();
	//友情链接
	$linkModel=new \Common\Model\Link;
	$linkData=$linkModel->get();
 ?>
	<footer class="hidden-xs">
			<div class="container">
				<div class="row">
					<div class="col-sm-4">
						<h4 class="_title">最新文章</h4>
						{{foreach from="$arcData" value="$arc"}}
						<div id="" class="_single">
							<p><a href="a_{{$arc['aid']}}.html">{{$arc['title']}}</a></p>
							<time>{{date('Y-m-d H:i:s',$arc['sendtime'])}}</time>
						</div>
						{{endforeach}}
					</div>
					<div class="col-sm-4 footer_tag">
						<div id="">
							<h4 class="_title">标签云</h4>
							{{foreach from="$tagData" value="$t"}}
							<a href="t_{{$t['tid']}}.html">{{$t['tname']}}</a>
							{{endforeach}}
						</div>
					</div>
					<div class="col-sm-4">
						<h4 class="_title">友情链接</h4>
						{{foreach from="$linkData" value="$link"}}
						<div id="" class="_single">
							<p><img src="{{$link['logo']}}" width="14" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="{{$link['url']}}" target="_blank">{{$link['lname']}}</a></p>
						</div>
						{{endforeach}}
					</div>
				</div>
			</div>
		</footer>
		<div class="footer_bottom">
			<div class="container">
				<div class="row">
					<div class="col-sm-12" style="color: whitesmoke;">
						{{C('webSet.WEB_NAME')}}</a>
						 | 
						{{C('webSet.WEB_COPY')}}</a>
						 |
						{{C('webSet.WEB_EMAIL')}}</a>
					</div>
				</div>
			</div>
		</div>
		<!--返回顶部自己写的插件-->
		<script src="./Public/home/js/backTop.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				//插件使用
				$('.back_top').backTop({right:30});
			})
		</script>
		<div class="back_top hidden-xs hidden-md">
			<i class="glyphicon glyphicon-menu-up"></i>
		</div>
	</body>
</html>